package aop.advisor;

import aop.pointcut.AspectJExpressionPointcut;
import lombok.Data;

@Data
public class AspectJPointcutAdvisor extends AbsPointcutAdvisor
{

    private AspectJExpressionPointcut pointcut;

    public AspectJPointcutAdvisor() {
    }
    public AspectJPointcutAdvisor(String adviceBeanName,String expression)
    {
        this.adviceBeanName = adviceBeanName;
        this.expression = expression;
        this.pointcut = new AspectJExpressionPointcut(expression);
    }

}
